package com.cong.security.core.properties;

import com.cong.security.core.constant.LoginType;
import com.cong.security.core.constant.SecurityConstant;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class BrowserProperties extends SecurityProperties {

    // 默认注册页
    private String signUpUrl = "/regist.html";

    //
    private String logoutUrl = "";

    // 记住我时间
    private int remomberMeSeconds = 3600;

    // 登录页
    private String loginPage = SecurityConstant.DEFAULT_LOGIN_PAGE_URL;

    // 默认返回json
    private LoginType loginType = LoginType.JSON;
}
